package com.ruoyi.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkOrder extends BaseEntity {

    private Long id;
    private Long creatorId;
    private String siteNum;
    private Long updaterId;
    private BigDecimal actualCount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date actualEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date actualStartTime;
    private Long areaId;
    private Long bomId;
    private String bomVersion;
    private Long cellId;
    private Long crewId;
    private String crewName;
    private String eigenvalue;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date issuedTime;
    private String materialCode;
    private Long materialId;
    private String materialName;
    private Integer orderMode;
    private Integer orderOperation;
    private String orderOperationName;
    private Integer orderTypeId;
    private String planCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planEndTime;
    private Integer planOrNew;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planStartTime;
    private BigDecimal quantity;
    private String routeCode;
    private Long routeId;
    private String routeName;
    private String routeVersion;
    private Integer serialNumber;
    private Long shiftId;
    private String shiftName;
    private String workOrderCode;
    private Integer workOrderState;
    private Integer allPittedStatus;
    private String cellName;
    private String serialNum;
    private String barCode;
    private String delFlag;


}
